home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
016a
/
space_v3.zip
/
SPACE.DOC
next >
Wrap
Text File
|
1991-12-01
|
15KB
|
338 lines
═════ ═════ ═══ ════ ═══════ (R)
══ ══ ══ ══ ══ ══ ══ ═ ══
═══ ══ ══ ══ ══ ══ ══
═══ ═════ ══ ══ ══ ════
═══ ══ ═══════ ══ ══
══ ══ ══ ══ ══ ══ ═ ══
═════ ══ ══ ══ ════ ═══════
S P A C E b y H E X / 2 9 A
(C) Copyright 1990-1991
This is Version 3.0 of SPACE. The program is written to be
compatible with clone BIOSs and PC/MS-DOS 5.xx. It will run on any
PC/XT/AT/386/486 with disk drives A: though Z:. It support MFM, RLL,
IDE, ESDI and SCSI hard disks and will automatically detect 80, 100 and
132 columns text output. SPACE will also function on a network if the
drives on the network can be accessed using the regular DOS command
(i.e. Z:).
SPACE has been tested and is known to work with:
a) PCnfs - Correctly locates and reports remote file systems.
b) VP/ix v1.2 - ISC UNIX SVR3.2v2.2
Special thanks to Mr. George Hrysanthopoulos, Mr. Simon Filippou,
Mr. Bill Kambouroglou and Mr. Richard G. Minutillo for their
suggestions. Enjoy it!
Hex/29A
PROGRAM / PROGRAMMER / DATE:
════════════════════════════
SPACE.EXE / Ioannis "Hex/29A" Hadjiioannou / Dec 1st 1991.
DISTRIBUTION:
═════════════
SPACE.EXE is a user supported program. It is now and will always
remain the sole property of the author. This program may be freely
distributed as long as the following limitations are adhered to:
1. THE PROGRAM AND DOCUMENTATION MAY NOT BE MODIFIED.
2. THE ENTIRE DOCUMENTATION FILE MUST BE INCLUDED
WITH THE PROGRAM.
3. THE AUTHOR'S COPYRIGHT NOTICE IS NOT TO BE
REMOVED.
4. NO FEE FOR THE PROGRAM MAY BE CHARGED OUTSIDE OF A
REASONABLE CHARGE FOR DISKETTE MEDIA AND/OR
SHIPPING. ($2.50 MAX).
5. IT MAY NOT BE PACKAGED OR SOLD IN CONJUNCTION WITH
ANY OTHER PRODUCT.
6. DISTRIBUTION OF THESE FILES (SPACE.EXE AND
SPACE.DOC), USING THE COMPRESSION PROGRAM "ARC" BY
SYSTEM ENHANCEMENT ASSOCIATES INC (SEA), IS
STRICTLY PROHIBITED.
NOTE: Shareware Houses and User Groups can distribute
SPACE with other programs as long as they register
one (1) copy and obtain authorization from the
author. See REGISTRATION/CONTRIBUTION.
WARRANTY:
═════════
THE PROGRAM AND DOCUMENTATION IS SUPPLIED AS-IS AND THE AUTHOR
DISCLAIMS ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT
LIMITATION, THE WARRANTIES OF MERCHANTABILITY AND THE WARRANTIES OF
FITNESS FOR ANY PURPOSE. THE AUTHOR FURTHER RESERVES THE RIGHT TO MAKE
CHANGES TO THE PROGRAM OR DOCUMENTATION WITHOUT OBLIGATION TO NOTIFY
ANY PERSON OR ORGANIZATION OF SUCH CHANGES.
FORMAT:
═══════
Just type SPACE or SPACE <Drive(s)> <Option(s)> at the DOS prompt.
PURPOSE:
════════
SPACE was developed for those who have multiple drives and want an
easy way to determine TOTAL, USED, % USED, FREE, % FREE disk space
reports on each of their drives and the same information on the SUM of
all of their drives. It will also give a warning if the percentage
USED on any drive and the SUM of their drives has been reached using
the appropriate command line switches.
HOW IT WORKS:
═════════════
SPACE can accept zero, one or multiple drive letters. Each drive
letter must be separated by at least one space and must be a SINGLE
CHARACTER from A to Z. Case and order of these drive letters does not
matter. Duplicate drive letters are ignored and output is given in
alphabetical order and not in the order the drive letters where
entered. You MUST NOT put a colon (:) after the drive letter.
Several switches are available:
/P : Print. Direct output to LPT1 at 80 columns per
line.
/P100 : Print 100. Direct output to LPT1 at 100 columns
per line.
/P132 : Print 132. Direct output to LPT1 at 132 columns
per line.
/S : Silent. Suppress the audible percentage warning.
/V : Verbose. Suppress the note printed at the end of
the output.
/%xxx : Percentage warning on the SUM of all drives.
Give a warning if the percentage USED on the
SUM of all drives is greater than xxx percent.
xxx can be from 1 to 100.
/%dxxx : Percentage warning on drive d. Give a warning if
the percentage USED on drive d is greater than
xxx percent. xxx can be from 1 to 100.
WARNING 4DOS USERS
════════════════════
Environment variables in 4DOS are referenced in a
command by starting the variable name with a percent
sign (%). You must use two (2) percent signs in a row
(%%) to signify a percent character. If you run 4DOS
the percentage warning options for SPACE must have two
(2) percent signs in a row and will look like this:
/%%xxx - Percentage warning on the SUM of your drives.
/%%dxxx - Percentage warning on drive d.
Please also note that because each element of the bar
graph is not 1% of your drive, there is a possibility of
a delay in the percentage warning. The maximum delay on
the 80 column output is 3%, 2% on the 100 column output
and 1% on the 132 column output. This means that if you
had set up the percentage warning for a drive at 50%,
you might get the warning when the percentage USED is
greater than 51%, 52% or 53% if you are getting the
output on an 80 column text mode. This is true for the
graphs of all drives and the SUM of your drives. Since
the percentage warning was designed to give you an early
warning, setting it between 80% and 90% will still give
you enough warning.
Each switch must be separated by at least one space. Switches
that do not follow the above format will be ignored.
SPACE WILL NOT set your screen or your printer in 80, 100 or 132
columns. You have to use the program that came with your video card to
set your screen to the desired mode and do the same manually for your
printer. SPACE will automatically detect the number of columns
available on your screen and it will give its output in the highest
available mode (80, 100 or 132). No detection is possible for your
printer, so SPACE will give its output in the mode specified by the /P
switch regardless of the printer setting.
In case of duplicate percentage warning switches, the one that
comes last will override all the previous occurrences of that switch.
If the printing switch is used, the percentage warning switches have no
effect.
These switches can be anywhere in the parameter list and case does
not matter.
For example:
SPACE
CURRENT drive. Send output to the screen.
SPACE /P
CURRENT drive. Send output to LPT1 at 80 columns per line.
SPACE /P100
CURRENT drive. Send output to LPT1 at 100 columns per line.
SPACE c /p132 b: a /V
Drives A: and C: ONLY. Drive B: is ignored! (b: = 2
CHARS). Don't print the note at the end of the output. Send
output to LPT1 at 132 columns per line.
SPACE a b c d /%60
Drives A: through D:. Give a warning if the total
percentage USED on all drives is greater that 60%.
SPACE a b c d /%90 /%a50 /%B60 /%c70 /%D80 /v /s
Drives A: through D:. Give a warning if the total
percentage USED on all drives is greater than 90%. Also give
a warning if the percentage USED on drive A: is greater than
50%, drive B: is greater than 60%, drive C: is greater than
70% and drive D: is greater than 80%. Don't print the note
at the end of the output. Suppress the audible percentage
warning.
SPACE a /%a50
Drive A: only. Give a warning if the percentage USED on
drive A: is greater than 50%.
SPACE a /%a50 /%50 /%c20
Drive A: only. Give a warning if the percentage USED on
drive A: is greater than 50%. All other switches are
ignored because /%50 is for the percentage USED on the sum of
all drives and you have only one drive. Also /%c20 is
ignored as no output will be given for drive C:.
SPACE can give two kinds of output. If zero or one drive letter
is given, SPACE will output the following:
SPACE <ENTER>
TOTAL DISK SPACE IN CURRENT DRIVE 319.8 MB
██████████████████████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
USED: 147.7 MB ( 46.11%) FREE: 172.1 MB ( 53.89%)
1 MByte = 1024 KBytes = 1048576 Bytes. SPACE was written by Hex/29A
SPACE c /V <ENTER>
TOTAL DISK SPACE IN DRIVE C: 319.8 MB
██████████████████████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
USED: 147.7 MB ( 46.11%) FREE: 172.1 MB (53.89%)
SPACE c /V /%c30 <ENTER>
TOTAL DISK SPACE IN DRIVE C: 319.8 MB
███████████████████▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
USED: 147.7 MB ( 46.11%) FREE: 172.1 MB ( 53.89%)
Note the percentage warning starting above the number '6' in '(
46.11%)' and ending below the 'I' in the sentence 'IN DRIVE C:'. That
portion of the graph will also be flashing.
If more than one drive letter is entered SPACE will give the
following:
SPACE b d c f a e /V <ENTER>
╔════════════════════════════════════╤═══════╤══════════════╤══════════════╗
║ G R A P H │SIZE MB│ USED MBytes │ FREE MBytes ║
╟────────────────────────────────────┼───────┼──────────────┼──────────────╢
║A:▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│ 1.2│ 0.0 0.0%│ 1.2 100.0%║
║B:▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│ 1.4│ 0.0 0.0%│ 1.4 100.0%║
║C:████████████████████████████████▒▒│ 312.3│ 299.4 95.9%│ 12.9 4.1%║
║D:█████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│ 1.0│ 0.4 35.9%│ 0.6 64.1%║
║e: DISK or DRIVE not present. │ N/A │ N/A │ N/A ║
║f: DISK or DRIVE not present. │ N/A │ N/A │ N/A ║
╟────────────────────────────────────┼───────┼──────────────┼──────────────╢
║Σ:████████████████████████████████▒▒│ 315.9│ 299.7 94.9%│ 16.1 5.1%║
╚════════════════════════════════════╧═══════╧══════════════╧══════════════╝
SPACE b d c e a /%80 /%c50 /%d10 /s <ENTER>
╔════════════════════════════════════╤═══════╤══════════════╤══════════════╗
║ G R A P H │SIZE MB│ USED MBytes │ FREE MBytes ║
╟────────────────────────────────────┼───────┼──────────────┼──────────────╢
║A:▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│ 1.2│ 0.0 0.0%│ 1.2 100.0%║
║B:▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│ 1.4│ 0.0 0.0%│ 1.4 100.0%║
║C:████████████████▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▒▒│ 312.3│ 299.4 95.9%│ 12.9 4.1%║
║D:██▐▐▐▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│ 1.0│ 0.4 35.9%│ 0.6 64.1%║
║e: DISK or DRIVE not present. │ N/A │ N/A │ N/A ║
╟────────────────────────────────────┼───────┼──────────────┼──────────────╢
║Σ:█████████████████████████████▐▐▐▒▒│ 315.9│ 299.7 94.9%│ 16.1 5.1%║
╚════════════════════════════════════╧═══════╧══════════════╧══════════════╝
1 MByte = 1024 KBytes = 1048576 Bytes. SPACE was written by Hex/29A
Note the percentage warnings on drives C: and D: and on the SUM
(Σ:) graphs. These warning will be more visible on your screen due to
the flashing.
If the drive does not exist or if there is no disk in a floppy
drive you will be notified as above and that drive letter will be lower
case and flashing. Please note that if any drive or if the total disk
space of all your drives is more than 99,999.9 MB (99.9 GB) the boxes
will get out of alignment.
The percentage warning on the SUM of the drives is given on the
graph named Σ:. The graph will be bright red up to the percentage
specified in the /%xxx switch and the rest USED will be flashing. The
percentage warning on the other drives will be given on the individual
drive graph in the same manner. If the silent switch /S in not active,
the audible alarm will also sound.
INSTALLATION:
═════════════
No special installation is required.
ERROR MESSAGES:
═══════════════
1. x: DISK or DRIVE not present.
REGISTRATION/CONTRIBUTION:
══════════════════════════
If you receive this program from another user or download it from
your local BBS and find it of value, your $10 contribution will be
appreciated. Please send comments and suggestions to:
HK SQUARE INC.
Ioannis Hadjiioannou
24-16 Steinway Str. Suit 580
L.I.C., NY 11103